import request from '@/utils/httpRequest'

// 碧划算淘宝官方活动列表接口
export function tbActivityList (value) {
  return request({
    url: '/bihs/tb-activity/list',
    method: 'post',
    data: value || {}
  })
}
// 碧划算淘宝官方活动获取一条记录
export function tbActivityGet (value) {
    return request({
        url: '/bihs/tb-activity/get',
        method: 'get',
        params: value || {}
    })
}
// 碧划算淘宝官方活动新建
export function tbActivityAdd (value) {
    return request({
        url: '/bihs/tb-activity/create',
        method: 'post',
        data: value || {}
    })
}
// 碧划算淘宝官方活动更新
export function tbActivityUpdate (value) {
    return request({
        url: '/bihs/tb-activity/update',
        method: 'post',
        data: value || {}
    })
}